package com.whfc.ms.api.emp.service.impl;

import com.whfc.common.result.PageData;
import com.whfc.emp.dto.AppExamRecordDTO;
import com.whfc.emp.param.AppExamRecordAddParam;
import com.whfc.emp.param.AppExamRecordListParam;
import com.whfc.emp.service.AppExamRecordService;
import com.whfc.ms.api.emp.service.MsExamRecordService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;


/**
 * @ClasssName MsTrainServiceImpl
 * @Description 人员管理-考试
 * @Author hw
 * @Date 2020/11/26 17:24
 * @Version 1.0
 */
@Service
public class MsExamRecordServiceImpl implements MsExamRecordService {

    private final Logger logger = LoggerFactory.getLogger(this.getClass());

    @DubboReference(interfaceClass = AppExamRecordService.class, version = "1.0.0", timeout = 5000)
    private AppExamRecordService appExamRecordService;

    @Override
    public PageData<AppExamRecordDTO> list(AppExamRecordListParam request) {
        return appExamRecordService.list(request);
    }

    @Override
    public void add(AppExamRecordAddParam request) {
        appExamRecordService.add(request);
    }

    @Override
    public void del(Integer id) {
        appExamRecordService.del(id);
    }


}
